package com.ruoyi.common.core.domain.e_recruit;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 招聘对象 e_recruit
 * 
 * @author JYW
 * @date 2024-01-30
 */
public class ERecruit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String pName;

    /** 岗位要求 */
    @Excel(name = "岗位要求")
    private String detail;

    /** 人数 */
    @Excel(name = "人数")
    private Long peple;

    /** 薪水 */
    @Excel(name = "薪水")
    private BigDecimal salary;

    /** 单位 */
    @Excel(name = "单位")
    private Long salaryUnit;

    /** 工作地点 */
    @Excel(name = "工作地点")
    private String location;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setpName(String pName) 
    {
        this.pName = pName;
    }

    public String getpName() 
    {
        return pName;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setPeple(Long peple) 
    {
        this.peple = peple;
    }

    public Long getPeple() 
    {
        return peple;
    }
    public void setSalary(BigDecimal salary) 
    {
        this.salary = salary;
    }

    public BigDecimal getSalary() 
    {
        return salary;
    }
    public void setSalaryUnit(Long salaryUnit) 
    {
        this.salaryUnit = salaryUnit;
    }

    public Long getSalaryUnit() 
    {
        return salaryUnit;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pName", getpName())
            .append("detail", getDetail())
            .append("peple", getPeple())
            .append("salary", getSalary())
            .append("salaryUnit", getSalaryUnit())
            .append("location", getLocation())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
